package com.gack.business.model;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.gack.helper.common.abstractobj.IdEntity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
 * 
 * 
* @ClassName: VideoOpinion.java 
* @Description: 意见反馈实体
* @author Cancerl
* @date 2018年3月21日
*  
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="opinion")
public class VideoOpinion extends IdEntity{
	String opiniontext;	//反馈信息
	
//	@ManyToOne(cascade=CascadeType.REFRESH,optional=false)
//	@JoinColumn(name = "userid")
//	private User user;	//反馈人
	
//	private String userid;
	
	private String userid;
	private Date createTime;	//提交时间
	private Integer status;		//信息状态 0 未处理  1已处理
	private String replytext;	//回复内容（意见反馈的回复内容）
	private String source;		//意见反馈来源	app  /  pc
	
	
}
